import { createRouter, createWebHistory } from 'vue-router'
import { isMobileTerminal } from '@/utils/flexible'
import mobile from './modules/mobile-routes.js'
import pc from './modules/pc-routes.js'
const router = createRouter({
  history: createWebHistory(),
  routes: isMobileTerminal.value ? mobile : pc
})
export default router
